Ditto offers an intermediate level of security for applications where all users and devices are trusted. For example, this could be appropriate for an enterprise application run on centrally managed devices.
OnlineWithAuthentication
.SharedKey
identity type. The secret key must be provided as a string when initializing the DittoIdentity
on each peer. This key should be securely and randomly generated and Ditto expects it to be in a particular format.
The recommended way to generate a shared key is to download Ditto’s open-source, cross-platform utility ditto-authtool
, which provides an easy command to generate new shared keys from a terminal or command prompt: